package com.example.course.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName course
 */
@TableName(value ="course")
@Data
public class Course implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "course_id",type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long courseId;

    /**
     * 课程类别表主键
     */
    @TableField(value = "course_category_id")
    private Long courseCategoryId;

    /**
     * 课程名字
     */
    @TableField(value = "course_name")
    private String courseName;

    /**
     * 星期几
     */
    @TableField(value = "course_day")
    private Integer courseDay;

    /**
     * 开始的周次
     */
    @TableField(value = "course_week_start")
    private Integer courseWeekStart;

    /**
     * 结束的周次
     */
    @TableField(value = "course_week_end")
    private Integer courseWeekEnd;

    /**
     * 开始的节次
     */
    @TableField(value = "course_time_start")
    private Integer courseTimeStart;

    /**
     * 结束的节次
     */
    @TableField(value = "course_time_end")
    private Integer courseTimeEnd;

    /**
     * 上课地点
     */
    @TableField(value = "course_address")
    private String courseAddress;

    /**
     * 课程老师
     */
    @TableField(value = "course_teacher")
    private String courseTeacher;

    /**
     * 课程号
     */
    @TableField(value = "course_number")
    private Long courseNumber;

    /**
     * 课序号
     */
    @TableField(value = "course_ordinal")
    private Long courseOrdinal;

    /**
     * 课程类别
     */
    @TableField(value = "course_category_name")
    private String courseCategoryName;

    /**
     * 课程性质
0：必修
1：选修
     */
    @TableField(value = "course_nature")
    private Integer courseNature;

    /**
     * 修读方式
     */
    @TableField(value = "course_study")
    private String courseStudy;

    /**
     * 是否主修
0：是
1：否
     */
    @TableField(value = "course_major")
    private Integer courseMajor;

    /**
     * 逻辑删除
0：未删除
1：已删除
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    /**
     * 学期
     */
    @TableField(value = "semester_id")
    private Long semesterId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}